﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administration/Administration.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="UnwiseSource.Administration.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="main_body" runat="server">

    <link href="AStyles/login-style.css" rel="stylesheet" />

    <div id="holder" class="content-holder">
        <div id="login-holder">
            <div id="login-controls-holder">
                <div id="labels-holder">
                    <label for="tb_username">Потребителско име:</label>
                    <label for="tb_password">Парола:</label>    
                </div>
                <div id="boxes-holder">
                    <asp:TextBox ID="tb_username" runat="server" onchange="ClearErrorMsg()"></asp:TextBox>
                    <asp:TextBox ID="tb_password" TextMode="Password" runat="server" onchange="ClearErrorMsg()" />
                </div>
            </div>
            <asp:Button runat="server" ID="btnEnter" Text="Вход" OnClick="btnEnter_Click"/>
            <p runat="server" id="Error_msg">
            </p>
        </div>
    </div>

    <script>
        function ClearErrorMsg() {
            var msgHolder = $("#main_body_Error_msg");
            msgHolder.text("");
        }
    </script>
</asp:Content>
